<template>
  <div class="search-card">
    <div class="search-card-header">
      <span>搜索用户数</span>
      <i class="el-icon-warning-outline"></i>
    </div>
    <div class="search-card-body">
      <span class="body-span-left">12321</span>
      <span class="body-span-right">17.1</span>
      <i class="el-icon-caret-top icon-red"></i>
    </div>

    <LineChart />
  </div>
</template>

<script>
import LineChart from './LineChart.vue'
export default {
  name: 'SearchCard',
  components: {
    LineChart
  }
}
</script>

<style lang="scss" scoped>
// .search-card {
//   // width: 285px;
//   // width: 100%;
//   height: 100px;
// }
.search-card-header {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  span,
  i {
    // display: inline-block;
    height: 22px;
    line-height: 22px;
    font-size: 16px;
    color: #808080;
  }
  span {
    margin-right: 10px;
  }
}
.search-card-body {
  // height: 28px;
  display: flex;
  align-items: center;
  .body-span-left {
    margin-right: 30px;
    font-size: 25px;
    color: #313131;
  }
  .body-span-right {
    margin-right: 10px;
    font-size: 20px;
    color: #808080;
  }
  .icon-red {
    color: red;
  }
}
// .search-card-footer {
//   // width: 100%;
//   // height: 46px;
// }
</style>
